html{
    font-style:62.5%;
}

body{
    color:aqua;
    --site--width:100%;
    font-size: 1.12em;
    line-height: 2rem;
}

h1,h2,h3,h4,h5,h6,ul,figure{
    margin: 0;
    padding: 0%;
}

li{
    list-style-type: none;
}

a{
    text-decoration: none;
    color: #333;
}

a:hover{
    color: blueviolet;
}
/* 图片尺寸处理 */
img{
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

/* 语义容器的宽度 */
header,nav,main,footer{
    width: calc(var(--site--width));
    
}

/* 0-2，公共定义 */
.w1200{
    width:120rem ;

}

.fl{
    float: left;
}

.fr{
    float: right;
}

.cl{
    float: both;
}
.mt30{

}
/* 1、页面顶部定义 */
header{
    background: #000;
    min-width: max-content;
}

/* 1-1页面顶部日期及导航 */
.top_nav{
    display: flex;/* 弹性布局 */
    color: #a5a4a4;
    height: 30px;
    align-items: center;
}

.top_nav .push_right{
    margin-left: auto;
}
.top_nav a{
color: #a5a4a4;
padding-left: 1rem;
}

.top_nav a:not(:last-of-type){
    content: "|";
    display: inline-block;
    margin-left: 1rem;
}
/* 2、页面导航定义 */

.logo{
    margin:auto;
    height: 150px;
    background: #832c2c url(head.jpg);
    min-width: max-content;
}

.logo h1{
    height: 10rem;
}

nav ul{
display: flex;
align-items: center;
justify-content: space-around;
width: 100%;
}

nav li:first-of-type > a{
    color: #fff;
    background-color: #89211b;
    flex: "|";
}

nav li:hover{
    color: #fff;
    background-color: #89211b;
}

/* 二级菜单定义 */
nav ul.sub_menu{
    display: none;
} 

nav li:hover ul.sub_menu{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-color: #89211b;
    width: calc(120rem / 9);
    z-index: 999;
}

nav ul.sub_menu a{
    color: #fff;

}

nav ul.sub_menu li:hover > a{
    background-color: #a1261f;
}
/* 3、页面主题定义 */
/* 3.1、banner 宣传图片轮播 */
.banner{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.6);
    overflow: hidden;
    height: 335px;

}

.banner edge{
    flex: 0 0 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.banner .banner_list{
    flex: 0 0 120rem;
    display: flex;
    flex-direction: row;
    height: 335px;
    min-width: 120rem;
}

.banner figure{
    flex: 1 1 100vw;
    /* display: flex; */
    min-width: 100%;
    display: flex;
    flex-direction: column;
    /* 方向改成列 */
}

.banner figure:first-of-type{
    margin-left: -120rem;
}

.banner figure img{
    min-height: 335px;
}

.banner figure figcaption{
    color: #fff;
    font-size: 1.6rem;
    text-align: center;
    height: 4rem;
    line-height: 4rem;
    margin-top: -4rem;
    background: url();/* 找个png */

}

/* 定义banner两边效果 */
.banner edge{
    flex: 0 0 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    position: relative;/* 相对定位 */
}
.banner a.arrow{
    position: absolute; /* 绝对定位 */
    top: 0;
    display: block;
    width: 6rem;
    height: 100%;
    cursor: pointer;
    z-index: 99px;
}

.banner a.prev{
    right: 0;
    background: url()-180px 0 no-repeat;
}

.banner a.prev:hover{
    background: url()120px 0 no-repeat;
}

.banner a.next{
    background: url() -60px 0 no-repeat;
}

.banner a.next:hover{
    background: url() -60px 0 no-repeat;
}

/* 学院新闻&通知公告&学工动态 公共定义 */
.t header{
    display: flex;
    border-bottom: 1px solid #b2b2b2 dashed;
    background-color: transparent;
    height: 5rem;
    line-height: 5rem;
    padding-bottom: 1rem;
    align-items: center;
    color: #89211b;
}

.t img{
    margin-right: 1rem;
}

.t header h2{
    font-size: 2rem;
    font-weight: normal;
}

.t header a{
    margin-left: auto;
}
/* 3.2、学院新闻 */
.news article{
    display: flex;
    justify-content: center;

}
.news .news_box{
    background-color: #f7f7f7;
    overflow: hidden;
}

.news ul:nth-of-type(1){
    flex: 0 0 64rem;
    display: flex;
    align-items: center;
    /* 还要下载相应的资源 */
    justify-content: flex-start;
}

.news ul:nth-of-type(2){
    flex: 0 0 56rem;
}
.news ul:nth-of-type(1)li{
    width: 29rem;
    margin-right: 3rem;
    color: #666;
}
.news ul:nth-of-type(1)img{
    height: 200rem;
    width: 100%;
}
/* 4、页面底部定义 */
